#ifndef _ANIMATION_MANAGER_H_
#define _ANIMATION_MANAGER_H_

#include "../Generals/MTGame.h"

using namespace cocos2d;

class AnimationManager : public Singleton<AnimationManager>
{
public:
	AnimationManager();
	~AnimationManager();
	bool initAnimationMap();
	CCAnimation *getAnimation(int key);
	CCAnimate *createAnimate(int key);

protected:
	CCAnimation *createHeroMovingAnimationByDirection(Direction di);
	CCAnimation *createFightAnimation();
};

#define sAnimationMgr AnimationManager::instance()

#endif